<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    <title>
        后台管理
    </title>
    <link href="/css/bootstrap.css" rel="stylesheet">
</head>
<body>

<nav class="navbar navbar-default">
    <div class="container-fluid">
        
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">导航</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
          
        </div>

       
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
              
            <li><a href="{{route('admin.order')}}" class=" {{request()->route()->getName() == 'admin.order' ?'active':''}}">订单列表</a></li>
            <li><a href="{{route('admin.goods')}}" class=" {{request()->route()->getName() == 'admin.goods' ?'active':''}}">商品列表</a></li>
            <li><a href="{{route('admin.category')}}" class=" {{request()->route()->getName() == 'admin.category' ?'active':''}}">分类列表</a></li>
            </ul>


        </div>
    </div>
</nav>

    <div class="col-sm-9">
        @yield('content')
    </div>
</div>
</body>
<script src="https://cdn.bootcss.com/jquery/2.1.4/jquery.js"></script>
<script src="/js/plupload.full.min.js"></script>

<script src="https://cdn.bootcdn.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>


<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
@yield('scripts')
</html>